//
//  AFNetWorkServicePolice.h
//  ShangHaiPolice
//
//  Created by 程三 on 16/8/9.
//  Copyright © 2016年 程三. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetWorkService.h"
#import <UIKit/UIKit.h>

@interface AFNetWorkService2 : AFNetWorkService

@property(nonatomic,assign)BOOL showNotice;

-(void)requestWithServiceIP2:(NSString *)serviceIP ServiceName:(NSString *)serviceName params:(NSMutableDictionary *)params httpMethod:(NSString *)httpMethod resultIsDictionary:(BOOL)resultIsDictionary completeBlock:(RequestCompelete2)block2;

+ (AFNetWorkService2 *)getAFNetWorkService2;

/**
 *  文件上传
 *
 *  @param url          上传的路径
 *  @param fileFullpath 文件的完整路径
 *  @param params       参数，直接给nil
 *  @param name         名称
 *  @param fileName     文件名
 *  @param block        回调接口
 */
-(void)uploadUrl:(NSString *)url fileFullPath:(NSString *)fileFullpath params:(NSMutableDictionary *)params name:(NSString *)name fileName:(NSString *)fileName completeBlock:(RequestCompelete)block;

@end
